package org.fanpeng.demo.design.service.logic;

import org.fanpeng.demo.design.model.vo.TreeNodeLink;
import org.slf4j.Logger;

import java.util.List;
import java.util.Map;

/**
 * className: LogicFilter
 * Description:
 * date: 2021/8/6 16:38
 *
 * @author fanpeng
 * @version 1.0
 */
public interface LogicFilter {

    /**
     * 逻辑决策器
     * @param matterValue
     * @param treeNodeLinkInfoList
     * @author Administrator
     * @date 2021/8/6 16:40 
     * @return java.lang.Long
     */
    Long filter(String matterValue, List<TreeNodeLink> treeNodeLinkInfoList);

    /**
     * 获取决策值
     * @param treeId
     * @param userId
     * @param decisionMatter
     * @author Administrator
     * @date 2021/8/6 16:42
     * @return java.lang.String
     */
    String matterValue(Long treeId, String userId, Map<String, String> decisionMatter);

}
